﻿using System;
using System.IO;

namespace OpenLS.Spreadsheet.Formats.Biff.Records
{
    internal class Feat11XMapEntry2
    {
        private uint dwMapId;
        private XLUnicodeString rgbXPath;

        public void Read(BinaryReader reader)
        {
            this.dwMapId = reader.ReadUInt32();
            this.rgbXPath = new XLUnicodeString();
            this.rgbXPath.Read(reader);
        }

        public void Write(BinaryWriter writer)
        {
            writer.Write(this.dwMapId);
            rgbXPath.Write(writer);
        }
    }
}